package com.zzz.gp.service;

import com.zzz.gp.bean.GpHistory;
import com.zzz.gp.dao.GpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/12/9 21:07
 */
@Service
public class ExcelExportService {

    @Autowired
    private GpMapper gpMapper;

    public List<GpHistory> export(String code){
        return gpMapper.getHistoryDataAll(code);
    }

}
